package com.mccken.designpattern.factory.abstract_factory.demo1.product_c;

import com.mccken.designpattern.factory.abstract_factory.demo1.IProductA;
import com.mccken.designpattern.factory.abstract_factory.demo1.IProductB;
import com.mccken.designpattern.factory.abstract_factory.demo1.ProductAFamilyA;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2023-04-13 01:38
 **/
public class FactoryC2 implements IFactory2 {

	@Override
	public IProductC createProductC() {
		return new ProductCFactoryC();
	}

	@Override
	public IProductA createProductA() {
		return new ProductAFamilyA();
	}

	@Override
	public IProductB createProductB() {
		return new ProductBFactoryC();
	}
}
